-- GENERATED SPELL FOR [Murloc Tidehunter] --


function spell0_127(pUnit, Event) --@Frost Nova,Self--
pUnit:FullCastSpellOnTarget(11831,pUnit)
pUnit:RegisterEvent('Sorts_127', 8290, 1)
end

function Sorts_127(pUnit, Event)
local choix_sorts_127 = math.random(0, 0)
if choix_sorts_127 == 0 then
pUnit:RegisterEvent('spell0_127', 1, 1)
end
end

function mob127_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_127', math.random(1500, 3000), 1)
end

function mob127_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob127_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob127_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(127, 1, 'mob127_Action')
RegisterUnitEvent(127, 2, 'mob127_Leave')
RegisterUnitEvent(127, 3, 'mob127_Kill')
RegisterUnitEvent(127, 4, 'mob127_Die')
